package org.example.ai_chat.pojo;



import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.util.Date;
@Data
@Schema(description = "用户基本信息")
public class users {
    private Integer user_id;
    private String username;
    private String password_hash;
    private String email;
    private String avatar_url;
    private Date created_at;
    private Date last_login;
    private Integer is_active;
    public users() {

    }
    public users(Integer user_id, String username, String password_hash, String email, String avatar_url, Date created_at, Date last_login, Integer is_active) {
        this.user_id = user_id;
        this.username = username;
        this.password_hash = password_hash;
        this.email = email;
        this.avatar_url = avatar_url;
        this.created_at = created_at;
        this.last_login = last_login;
        this.is_active = is_active;
    }
}
